﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelModels
{
    public class AlmCountModel
    {
        public string Type { get; set; }
        public string AlmName { get; set; }
        public string Description { get; set; }
        public int DeviceId { get; set; }
        public int Count { get; set; }
        public int Level { get; set; }
        public string Module { get; set; }
        public string Element { get; set; }
        public TimeSpan TotalTimeSpan { get; set; }
        public TimeSpan TotalTime => TimeSpan.FromSeconds(Math.Round((double)TotalTimeSpan.TotalSeconds));
        public TimeSpan AvgTime => TimeSpan.FromSeconds(Math.Round((double)TotalTimeSpan.TotalSeconds / Count));
    }
}
